package com.ddwl.schema.vo.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2020/11/9 15:44
 */
@Getter
@Setter
@ApiModel("渠道配置vo")
public class ChannelConfigVo {

    @NotNull(message = "id不能为空")
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("是否有效 0：是，1:否")
    private Integer valid;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

}
